<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>

<html>

<head>
<title>Login Page</title>
</head>

<body>

	<p>Welcome to UCSD Graduate School Application</p>

	<form name="frmSignIn" method="POST" action="j_security_check">

		<table border="1">
			<tr>
				<td>Username</td>
				<td><input maxlength="20" size="12" name="j_username"
					type="text" /></td>
			</tr>
			<tr>
				<td>Password</td>
				<td><input maxlength="20" size="13" name="j_password"
					type="password" /></td>
			</tr>
		</table>

		<p>
			<input type="submit" value="Login" />

			<%
				session.setAttribute("visited", false);
			%>
		</p>

		<p>
			<a href=<%=application.getContextPath() + "/appReg.jsp"%>>Register</a>
		</p>
	</form>

</body>
</html>